package com.dragon.design.principle.singleresponsibility;

/**
 * @author dragon
 * @version V1.0.0-RELEASE
 * @date 2019/5/15 14:46
 */
public class Bird {

    public void mainMoveMode(String birdName) {
        if ("鸵鸟".equals(birdName)) {
            System.out.println(birdName + "用脚走");
        } else {
            System.out.println(birdName + "用翅膀飞");
        }
    }
}
